﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master"  AutoEventWireup="true" CodeFile="ChangePassword.aspx.cs" Inherits="EmployeeInfo_ChangePassword" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div>
    <table border="0" cellpadding="0" cellspacing="0" style="width: 173px; border-right: #99ccff 1px solid; border-top: #99ccff 1px solid; border-left: #99ccff 1px solid; border-bottom: #99ccff 1px solid;" align="center">
      <!--DWLayoutTable-->
      <tr>
        <td height="23" align="left" valign="bottom" style="width: 324px"><!--DWLayoutEmptyCell-->&nbsp;请输入旧密码：</td>
      </tr>
      <tr>
        <td height="33" align="left" valign="bottom" style="width: 324px; border-right: #99ccff 1px solid; border-top: #99ccff 1px solid; border-left: #99ccff 1px solid; border-bottom: #99ccff 1px solid;"><!--DWLayoutEmptyCell-->&nbsp;<asp:TextBox ID="txtOldPwd" runat="server" TextMode="Password"></asp:TextBox><br />
            <asp:Label ID="lblShow" runat="server"></asp:Label>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtOldPwd"
                ErrorMessage="必须输入旧密码"></asp:RequiredFieldValidator>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtOldPwd"
                ErrorMessage="字符数必须在 8 至 20 的范围内。必须包含大小写字母和数字的组合，不能使用特殊字符" ValidationExpression="\d{6}"></asp:RegularExpressionValidator></td>
      </tr>
      <tr>
        <td height="29" align="left" valign="bottom" style="width: 324px; border-right: #99ccff 1px solid; border-top: #99ccff 1px solid; border-left: #99ccff 1px solid; border-bottom: #99ccff 1px solid;"><!--DWLayoutEmptyCell-->&nbsp;请输入新密码：</td>
      </tr>
      <tr>
        <td height="37" align="left" valign="bottom" style="width: 324px; border-right: #99ccff 1px solid; border-top: #99ccff 1px solid; border-left: #99ccff 1px solid; border-bottom: #99ccff 1px solid;"><!--DWLayoutEmptyCell-->&nbsp;<asp:TextBox ID="txtNewPwd" runat="server" TextMode="Password"></asp:TextBox></td>
      </tr>
      <tr>
        <td height="37" align="left" valign="bottom" style="width: 324px; border-right: #99ccff 1px solid; border-top: #99ccff 1px solid; border-left: #99ccff 1px solid; border-bottom: #99ccff 1px solid;"><!--DWLayoutEmptyCell-->&nbsp;请再确认一遍：</td>
      </tr>
      <tr>
        <td height="37" align="left" valign="bottom" style="width: 324px; border-right: #99ccff 1px solid; border-top: #99ccff 1px solid; border-left: #99ccff 1px solid; border-bottom: #99ccff 1px solid;"><!--DWLayoutEmptyCell-->&nbsp;<asp:TextBox ID="txtNewPwdAgain" runat="server" TextMode="Password"></asp:TextBox><br />
            <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txtNewPwd"
                ControlToValidate="txtNewPwdAgain" ErrorMessage="两次输入新密码必须一致"></asp:CompareValidator></td>
      </tr>
      <tr>
        <td align="center" valign="middle" style="width: 324px; border-right: #99ccff 1px solid; border-top: #99ccff 1px solid; border-left: #99ccff 1px solid; border-bottom: #99ccff 1px solid;"><!--DWLayoutEmptyCell-->
            <asp:Button ID="btnChange" runat="server" Text="修改" OnClick="btnChange_Click" />&nbsp;</td>
      </tr>
    </table>
        </div>
</asp:Content>